package com.quick.develop.flowable.convert.process;

import com.quick.develop.flowable.domain.vo.draft.BpmDraftReqVO;
import com.quick.develop.flowable.domain.vo.instance.BpmProcessInstanceCreateReqVO;
import com.quick.develop.flowable.domain.vo.process.BpmProcessReqVO;
import com.quick.develop.flowable.domain.vo.task.BpmTaskRejectReqVO;
import com.quick.develop.flowable.domain.vo.task.BpmTaskReqVO;
import com.quick.develop.flowable.domain.vo.task.BpmTaskUpdateAssigneeReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author junyuan.liu
 * @description: 
 * @date 2022/6/10 16:25
 */
@Mapper
public interface BpmProcessReqVoConvert {
    BpmProcessReqVoConvert INSTANCE = Mappers.getMapper(BpmProcessReqVoConvert.class);

    BpmProcessInstanceCreateReqVO convert(BpmProcessReqVO vo);

    BpmTaskReqVO convert1(BpmProcessReqVO vo);

    BpmTaskUpdateAssigneeReqVO convert2(BpmProcessReqVO vo);

    BpmTaskRejectReqVO convert3(BpmProcessReqVO vo);
    
    BpmDraftReqVO convert4(BpmProcessReqVO vo);
}
